@echo off
::keil batch build
set UV=C:\Keil_v5\UV4\UV4.exe
for /r %cd% %%i in (*.uvmpw) do (
	%UV% -j0 -r %%i -o %cd%\keil_build_log.txt	
)
::iar batch build
::set IAR="C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.4\common\bin\IarBuild.exe"
::for /r %cd% %%i in (*.ewp) do (
::	%IAR% %%i -build Debug -log warnings 
::)

echo Done
pause